
import PackageJson from '../../package.json';

export default {
  data(){
    return{
      
    }
  },
  methods: {   
    changeRouter(item,param){    
      this.$router.push({name: item});
    },
    /* @routerName路由名称
       @name跳转后页面名称
       @param参数列表
    */
    junmpToDetail(routerName,name,param){//跳转页面的同时添加面包屑导航
      console.log(param)
      this.$router.push({ name: routerName ,params:param});
      this.bus.$emit('pushCrumb', {name:name,url:routerName});
    }
  },
};
